﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using WmsApp.WmsService;

namespace WmsApp.Service
{
    public class ExtendOutStoreBillDtlService : IEntityService<ExtendOutStoreBillDtl, ExtendOutStoreBillDtlService>
    {

        #region IEntityService<ExtendOutStoreBillDtl> Members

        public List<ExtendOutStoreBillDtl> GetEntityList()
        {
            throw new NotFiniteNumberException();
        }

        public List<ExtendOutStoreBillDtl> GetEntityList(string condition)
        {
            var sc = Factory.WmsServiceFactory.GetServiceClient();
            List<ExtendOutStoreBillDtl> list = sc.GetExtendOutStoreBillDtlsByCondition(condition);
            return list;
        }

        public void SaveEntityList(List<ExtendOutStoreBillDtl> list)
        {
            throw new NotFiniteNumberException();
        }

        public ExtendOutStoreBillDtl GetEntity(string key)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
